package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapperZxw extends BaseMapper<Category> {

    //1 根据id条件值进行查询，返回list集合
    List<Category> selectCategoryByParentId(Long id);

    Integer selectCountByParentId(Long id);


}
